curl --request GET \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/compute/instances/{instance_id}/tasks/{id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"instance_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"instance": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"task_type": "create_vps",
"status": "pending",
"result": "<unknown>",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"retry_count": 123,
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"created_by": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>"
},
"parameters": "<unknown>",
"max_retries": 2147483647
}Retrieve details of a specific task via nested resource.
curl --request GET \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/compute/instances/{instance_id}/tasks/{id} \
--header 'Authorization: Bearer <token>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"instance_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"instance": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"task_type": "create_vps",
"status": "pending",
"result": "<unknown>",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"retry_count": 123,
"created": "2023-11-07T05:31:56Z",
"modified": "2023-11-07T05:31:56Z",
"created_by": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>"
},
"parameters": "<unknown>",
"max_retries": 2147483647
}Documentation Index
Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
Use this file to discover all available pages before exploring further.
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
A UUID string identifying this Instance Task.
Show child attributes
create_vps - Create Instancedelete_vps - Delete Instancestart_vps - Start Instancestop_vps - Stop Instancereboot_vps - Reboot Instanceshutdown_vps - Shutdown Instancereset_vps - Reset Instanceresize_vps - Resize Instancechange_hostname - Change Hostnamereinstall_os - Reinstall OSassign_ip - Assign IPremove_ip - Remove IPupdate_reverse_dns - Update Reverse DNSupdate_vpc - Update VPCapply_firewall - Apply Firewall Rulescreate_snapshot - Create Snapshotdelete_snapshot - Delete Snapshotrestore_snapshot - Restore Snapshotcreate_backup - Create Backupdelete_backup - Delete Backuprestore_backup - Restore Backupcreate_image_from_snapshot - Create Image from Snapshotdelete_image - Delete Imagecreate_volume - Create Volumeattach_volume - Attach Volumedetach_volume - Detach Volumeresize_volume - Resize Volumedelete_volume - Delete Volumeinstall_software - Install Softwareuninstall_software - Uninstall Softwareget_vnc_url - Get VNC URLsync_vps_state - Sync Instance Stateapply_config - Apply Proxmox Configurationcreate_vps, delete_vps, start_vps, stop_vps, reboot_vps, shutdown_vps, reset_vps, resize_vps, change_hostname, reinstall_os, assign_ip, remove_ip, update_reverse_dns, update_vpc, apply_firewall, create_snapshot, delete_snapshot, restore_snapshot, create_backup, delete_backup, restore_backup, create_image_from_snapshot, delete_image, create_volume, attach_volume, detach_volume, resize_volume, delete_volume, install_software, uninstall_software, get_vnc_url, sync_vps_state, apply_config pending - Pendingrunning - Runningcompleted - Completedfailed - Failedcancelled - Cancelledpending, running, completed, failed, cancelled Résultat de l'exécution
Show child attributes
Paramètres spécifiques à la tâche
0 <= x <= 4294967295